//////////////////////////////////////////////////////////
// This class has been automatically generated on
// Fri Jun  3 12:20:31 2011 by ROOT version 5.29/02
// from TChain susy/
//////////////////////////////////////////////////////////

#ifndef AnalysisBase_h
#define AnalysisBase_h

#include <TROOT.h>
#include <TChain.h>
#include <TFile.h>
#include <vector>
#include <string>

using namespace std;

class AnalysisBase {
public :
   TTree          *fChain;   //!pointer to the analyzed TTree or TChain
   Int_t           fCurrent; //!current Tree number in a TChain

   // Declaration of leaf types
   UInt_t          RunNumber;
   UInt_t          EventNumber;
   UInt_t          lbn;
   Int_t           el_n;
   vector<float>   *el_E;
   vector<float>   *el_pt;
   vector<float>   *el_eta;
   vector<float>   *el_phi;
   vector<int>     *el_author;
   vector<unsigned int> *el_isEM;
   vector<int>     *el_medium;
   vector<float>   *el_weta2;
   vector<float>   *el_Etcone20;
   vector<float>   *el_reta;
   vector<float>   *el_etas2;
   vector<float>   *el_cl_E;
   vector<float>   *el_cl_pt;
   vector<float>   *el_cl_eta;
   vector<float>   *el_cl_phi;
   Int_t           mu_staco_n;
   vector<float>   *mu_staco_E;
   vector<float>   *mu_staco_pt;
   vector<float>   *mu_staco_eta;
   vector<float>   *mu_staco_phi;
   vector<float>   *mu_staco_px;
   vector<float>   *mu_staco_py;
   vector<float>   *mu_staco_matchchi2;
   vector<float>   *mu_staco_etcone20;
   vector<float>   *mu_staco_ptcone20;
   vector<int>     *mu_staco_isCombinedMuon;
   vector<int>     *mu_staco_isLowPtReconstructedMuon;
   vector<float>   *mu_staco_d0_exPV;
   vector<float>   *mu_staco_z0_exPV;
   vector<float>   *mu_staco_id_theta_exPV;
   vector<float>   *mu_staco_id_qoverp_exPV;
   vector<float>   *mu_staco_me_theta_exPV;
   vector<float>   *mu_staco_me_qoverp_exPV;
   vector<float>   *mu_staco_ms_theta;
   vector<float>   *mu_staco_ms_qoverp;
   vector<float>   *mu_staco_id_theta;
   vector<float>   *mu_staco_me_qoverp;
   vector<int>     *mu_staco_nPixHits;
   vector<int>     *mu_staco_nSCTHits;
   vector<int>     *mu_staco_nTRTHits;
   vector<int>     *mu_staco_nTRTOutliers;
   Int_t           tau_n;
   vector<float>   *tau_pt;
   vector<float>   *tau_m;
   vector<float>   *tau_eta;
   vector<float>   *tau_phi;
   Float_t         MET_RefFinal_etx;
   Float_t         MET_RefFinal_ety;
   Float_t         MET_RefMuon_Staco_etx;
   Float_t         MET_RefMuon_Staco_ety;
   Int_t           jet_AntiKt4TopoNewEM_n;
   vector<float>   *jet_AntiKt4TopoNewEM_E;
   vector<float>   *jet_AntiKt4TopoNewEM_pt;
   vector<float>   *jet_AntiKt4TopoNewEM_eta;
   vector<float>   *jet_AntiKt4TopoNewEM_phi;
   vector<float>   *jet_AntiKt4TopoNewEM_n90;
   vector<float>   *jet_AntiKt4TopoNewEM_Timing;
   vector<float>   *jet_AntiKt4TopoNewEM_LArQuality;
   vector<float>   *jet_AntiKt4TopoNewEM_fracSamplingMax;
   vector<float>   *jet_AntiKt4TopoNewEM_hecf;
   vector<int>     *jet_AntiKt4TopoNewEM_isUgly;
   vector<int>     *jet_AntiKt4TopoNewEM_isBadLoose;
   vector<int>     *jet_AntiKt4TopoNewEM_isBadMedium;
   vector<int>     *jet_AntiKt4TopoNewEM_isBadTight;
   vector<float>   *jet_AntiKt4TopoNewEM_emfrac;
   vector<float>   *jet_AntiKt4TopoNewEM_emscale_E;
   vector<float>   *jet_AntiKt4TopoNewEM_emscale_pt;
   vector<float>   *jet_AntiKt4TopoNewEM_emscale_eta;
   vector<float>   *jet_AntiKt4TopoNewEM_emscale_phi;
   vector<double>  *jet_AntiKt4TopoNewEM_flavor_weight_SV0;
   vector<int>     *vx_nTracks;

   // List of branches
   TBranch        *b_RunNumber;   //!
   TBranch        *b_EventNumber;   //!
   TBranch        *b_lbn;   //!
   TBranch        *b_el_n;   //!
   TBranch        *b_el_E;   //!
   TBranch        *b_el_pt;   //!
   TBranch        *b_el_eta;   //!
   TBranch        *b_el_phi;   //!
   TBranch        *b_el_author;   //!
   TBranch        *b_el_isEM;   //!
   TBranch        *b_el_medium;   //!
   TBranch        *b_el_weta2;   //!
   TBranch        *b_el_Etcone20;   //!
   TBranch        *b_el_reta;   //!
   TBranch        *b_el_etas2;   //!
   TBranch        *b_el_cl_E;   //!
   TBranch        *b_el_cl_pt;   //!
   TBranch        *b_el_cl_eta;   //!
   TBranch        *b_el_cl_phi;   //!
   TBranch        *b_mu_staco_n;   //!
   TBranch        *b_mu_staco_E;   //!
   TBranch        *b_mu_staco_pt;   //!
   TBranch        *b_mu_staco_eta;   //!
   TBranch        *b_mu_staco_phi;   //!
   TBranch        *b_mu_staco_px;   //!
   TBranch        *b_mu_staco_py;   //!
   TBranch        *b_mu_staco_matchchi2;   //!
   TBranch        *b_mu_staco_etcone20;   //!
   TBranch        *b_mu_staco_ptcone20;   //!
   TBranch        *b_mu_staco_isCombinedMuon;   //!
   TBranch        *b_mu_staco_isLowPtReconstructedMuon;   //!
   TBranch        *b_mu_staco_d0_exPV;   //!
   TBranch        *b_mu_staco_z0_exPV;   //!
   TBranch        *b_mu_staco_id_theta_exPV;   //!
   TBranch        *b_mu_staco_id_qoverp_exPV;   //!
   TBranch        *b_mu_staco_me_theta_exPV;   //!
   TBranch        *b_mu_staco_me_qoverp_exPV;   //!
   TBranch        *b_mu_staco_ms_theta;   //!
   TBranch        *b_mu_staco_ms_qoverp;   //!
   TBranch        *b_mu_staco_id_theta;   //!
   TBranch        *b_mu_staco_me_qoverp;   //!
   TBranch        *b_mu_staco_nPixHits;   //!
   TBranch        *b_mu_staco_nSCTHits;   //!
   TBranch        *b_mu_staco_nTRTHits;   //!
   TBranch        *b_mu_staco_nTRTOutliers;   //!
   TBranch        *b_tau_n;   //!
   TBranch        *b_tau_pt;   //!
   TBranch        *b_tau_m;   //!
   TBranch        *b_tau_eta;   //!
   TBranch        *b_tau_phi;   //!
   TBranch        *b_MET_RefFinal_etx;   //!
   TBranch        *b_MET_RefFinal_ety;   //!
   TBranch        *b_MET_RefMuon_Staco_etx;   //!
   TBranch        *b_MET_RefMuon_Staco_ety;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_n;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_E;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_pt;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_eta;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_phi;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_n90;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_Timing;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_LArQuality;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_fracSamplingMax;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_hecf;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_isUgly;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_isBadLoose;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_isBadMedium;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_isBadTight;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_emfrac;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_emscale_E;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_emscale_pt;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_emscale_eta;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_emscale_phi;   //!
   TBranch        *b_jet_AntiKt4TopoNewEM_flavor_weight_SV0;   //!
   TBranch        *b_vx_nTracks;   //!

   AnalysisBase(TTree *tree=0);
   virtual ~AnalysisBase();
   virtual Int_t    Cut(Long64_t entry);
   virtual Int_t    GetEntry(Long64_t entry);
   virtual Long64_t LoadTree(Long64_t entry);
   virtual void     Init(TTree *tree);
   virtual void     Loop();
   virtual Bool_t   Notify();
   virtual void     Show(Long64_t entry = -1);
};

#endif

#ifdef AnalysisBase_cxx
AnalysisBase::AnalysisBase(TTree *tree)
{
// if parameter tree is not specified (or zero), connect the file
// used to generate this class and read the Tree.
   if (tree == 0) {

#ifdef SINGLE_TREE
      // The following code should be used if you want this class to access
      // a single tree instead of a chain
      TFile *f = (TFile*)gROOT->GetListOfFiles()->FindObject("Memory Directory");
      if (!f || !f->IsOpen()) {
         f = new TFile("Memory Directory");
      }
      f->GetObject("susy",tree);

#else // SINGLE_TREE

      // The following code should be used if you want this class to access a chain
      // of trees.
      TChain * chain = new TChain("susy","");
      chain->Add("mini.root/susy");
      tree = chain;
#endif // SINGLE_TREE

   }
   Init(tree);
}

AnalysisBase::~AnalysisBase()
{
   if (!fChain) return;
   delete fChain->GetCurrentFile();
}

Int_t AnalysisBase::GetEntry(Long64_t entry)
{
// Read contents of entry.
   if (!fChain) return 0;
   return fChain->GetEntry(entry);
}
Long64_t AnalysisBase::LoadTree(Long64_t entry)
{
// Set the environment to read one entry
   if (!fChain) return -5;
   Long64_t centry = fChain->LoadTree(entry);
   if (centry < 0) return centry;
   if (fChain->GetTreeNumber() != fCurrent) {
      fCurrent = fChain->GetTreeNumber();
      Notify();
   }
   return centry;
}

void AnalysisBase::Init(TTree *tree)
{
   // The Init() function is called when the selector needs to initialize
   // a new tree or chain. Typically here the branch addresses and branch
   // pointers of the tree will be set.
   // It is normally not necessary to make changes to the generated
   // code, but the routine can be extended by the user if needed.
   // Init() will be called many times when running on PROOF
   // (once per file to be processed).

   // Set object pointer
   el_E = 0;
   el_pt = 0;
   el_eta = 0;
   el_phi = 0;
   el_author = 0;
   el_isEM = 0;
   el_medium = 0;
   el_weta2 = 0;
   el_Etcone20 = 0;
   el_reta = 0;
   el_etas2 = 0;
   el_cl_E = 0;
   el_cl_pt = 0;
   el_cl_eta = 0;
   el_cl_phi = 0;
   mu_staco_E = 0;
   mu_staco_pt = 0;
   mu_staco_eta = 0;
   mu_staco_phi = 0;
   mu_staco_px = 0;
   mu_staco_py = 0;
   mu_staco_matchchi2 = 0;
   mu_staco_etcone20 = 0;
   mu_staco_ptcone20 = 0;
   mu_staco_isCombinedMuon = 0;
   mu_staco_isLowPtReconstructedMuon = 0;
   mu_staco_d0_exPV = 0;
   mu_staco_z0_exPV = 0;
   mu_staco_id_theta_exPV = 0;
   mu_staco_id_qoverp_exPV = 0;
   mu_staco_me_theta_exPV = 0;
   mu_staco_me_qoverp_exPV = 0;
   mu_staco_ms_theta = 0;
   mu_staco_ms_qoverp = 0;
   mu_staco_id_theta = 0;
   mu_staco_me_qoverp = 0;
   mu_staco_nPixHits = 0;
   mu_staco_nSCTHits = 0;
   mu_staco_nTRTHits = 0;
   mu_staco_nTRTOutliers = 0;
   tau_pt = 0;
   tau_m = 0;
   tau_eta = 0;
   tau_phi = 0;
   jet_AntiKt4TopoNewEM_E = 0;
   jet_AntiKt4TopoNewEM_pt = 0;
   jet_AntiKt4TopoNewEM_eta = 0;
   jet_AntiKt4TopoNewEM_phi = 0;
   jet_AntiKt4TopoNewEM_n90 = 0;
   jet_AntiKt4TopoNewEM_Timing = 0;
   jet_AntiKt4TopoNewEM_LArQuality = 0;
   jet_AntiKt4TopoNewEM_fracSamplingMax = 0;
   jet_AntiKt4TopoNewEM_hecf = 0;
   jet_AntiKt4TopoNewEM_isUgly = 0;
   jet_AntiKt4TopoNewEM_isBadLoose = 0;
   jet_AntiKt4TopoNewEM_isBadMedium = 0;
   jet_AntiKt4TopoNewEM_isBadTight = 0;
   jet_AntiKt4TopoNewEM_emfrac = 0;
   jet_AntiKt4TopoNewEM_emscale_E = 0;
   jet_AntiKt4TopoNewEM_emscale_pt = 0;
   jet_AntiKt4TopoNewEM_emscale_eta = 0;
   jet_AntiKt4TopoNewEM_emscale_phi = 0;
   jet_AntiKt4TopoNewEM_flavor_weight_SV0 = 0;
   vx_nTracks = 0;
   // Set branch addresses and branch pointers
   if (!tree) return;
   fChain = tree;
   fCurrent = -1;
   fChain->SetMakeClass(1);

   fChain->SetBranchAddress("RunNumber", &RunNumber, &b_RunNumber);
   fChain->SetBranchAddress("EventNumber", &EventNumber, &b_EventNumber);
   fChain->SetBranchAddress("lbn", &lbn, &b_lbn);
   fChain->SetBranchAddress("el_n", &el_n, &b_el_n);
   fChain->SetBranchAddress("el_E", &el_E, &b_el_E);
   fChain->SetBranchAddress("el_pt", &el_pt, &b_el_pt);
   fChain->SetBranchAddress("el_eta", &el_eta, &b_el_eta);
   fChain->SetBranchAddress("el_phi", &el_phi, &b_el_phi);
   fChain->SetBranchAddress("el_author", &el_author, &b_el_author);
   fChain->SetBranchAddress("el_isEM", &el_isEM, &b_el_isEM);
   fChain->SetBranchAddress("el_medium", &el_medium, &b_el_medium);
   fChain->SetBranchAddress("el_weta2", &el_weta2, &b_el_weta2);
   fChain->SetBranchAddress("el_Etcone20", &el_Etcone20, &b_el_Etcone20);
   fChain->SetBranchAddress("el_reta", &el_reta, &b_el_reta);
   fChain->SetBranchAddress("el_etas2", &el_etas2, &b_el_etas2);
   fChain->SetBranchAddress("el_cl_E", &el_cl_E, &b_el_cl_E);
   fChain->SetBranchAddress("el_cl_pt", &el_cl_pt, &b_el_cl_pt);
   fChain->SetBranchAddress("el_cl_eta", &el_cl_eta, &b_el_cl_eta);
   fChain->SetBranchAddress("el_cl_phi", &el_cl_phi, &b_el_cl_phi);
   fChain->SetBranchAddress("mu_staco_n", &mu_staco_n, &b_mu_staco_n);
   fChain->SetBranchAddress("mu_staco_E", &mu_staco_E, &b_mu_staco_E);
   fChain->SetBranchAddress("mu_staco_pt", &mu_staco_pt, &b_mu_staco_pt);
   fChain->SetBranchAddress("mu_staco_eta", &mu_staco_eta, &b_mu_staco_eta);
   fChain->SetBranchAddress("mu_staco_phi", &mu_staco_phi, &b_mu_staco_phi);
   fChain->SetBranchAddress("mu_staco_px", &mu_staco_px, &b_mu_staco_px);
   fChain->SetBranchAddress("mu_staco_py", &mu_staco_py, &b_mu_staco_py);
   fChain->SetBranchAddress("mu_staco_matchchi2", &mu_staco_matchchi2, &b_mu_staco_matchchi2);
   fChain->SetBranchAddress("mu_staco_etcone20", &mu_staco_etcone20, &b_mu_staco_etcone20);
   fChain->SetBranchAddress("mu_staco_ptcone20", &mu_staco_ptcone20, &b_mu_staco_ptcone20);
   fChain->SetBranchAddress("mu_staco_isCombinedMuon", &mu_staco_isCombinedMuon, &b_mu_staco_isCombinedMuon);
   fChain->SetBranchAddress("mu_staco_isLowPtReconstructedMuon", &mu_staco_isLowPtReconstructedMuon, &b_mu_staco_isLowPtReconstructedMuon);
   fChain->SetBranchAddress("mu_staco_d0_exPV", &mu_staco_d0_exPV, &b_mu_staco_d0_exPV);
   fChain->SetBranchAddress("mu_staco_z0_exPV", &mu_staco_z0_exPV, &b_mu_staco_z0_exPV);
   fChain->SetBranchAddress("mu_staco_id_theta_exPV", &mu_staco_id_theta_exPV, &b_mu_staco_id_theta_exPV);
   fChain->SetBranchAddress("mu_staco_id_qoverp_exPV", &mu_staco_id_qoverp_exPV, &b_mu_staco_id_qoverp_exPV);
   fChain->SetBranchAddress("mu_staco_me_theta_exPV", &mu_staco_me_theta_exPV, &b_mu_staco_me_theta_exPV);
   fChain->SetBranchAddress("mu_staco_me_qoverp_exPV", &mu_staco_me_qoverp_exPV, &b_mu_staco_me_qoverp_exPV);
   fChain->SetBranchAddress("mu_staco_ms_theta", &mu_staco_ms_theta, &b_mu_staco_ms_theta);
   fChain->SetBranchAddress("mu_staco_ms_qoverp", &mu_staco_ms_qoverp, &b_mu_staco_ms_qoverp);
   fChain->SetBranchAddress("mu_staco_id_theta", &mu_staco_id_theta, &b_mu_staco_id_theta);
   fChain->SetBranchAddress("mu_staco_me_qoverp", &mu_staco_me_qoverp, &b_mu_staco_me_qoverp);
   fChain->SetBranchAddress("mu_staco_nPixHits", &mu_staco_nPixHits, &b_mu_staco_nPixHits);
   fChain->SetBranchAddress("mu_staco_nSCTHits", &mu_staco_nSCTHits, &b_mu_staco_nSCTHits);
   fChain->SetBranchAddress("mu_staco_nTRTHits", &mu_staco_nTRTHits, &b_mu_staco_nTRTHits);
   fChain->SetBranchAddress("mu_staco_nTRTOutliers", &mu_staco_nTRTOutliers, &b_mu_staco_nTRTOutliers);
   fChain->SetBranchAddress("tau_n", &tau_n, &b_tau_n);
   fChain->SetBranchAddress("tau_pt", &tau_pt, &b_tau_pt);
   fChain->SetBranchAddress("tau_m", &tau_m, &b_tau_m);
   fChain->SetBranchAddress("tau_eta", &tau_eta, &b_tau_eta);
   fChain->SetBranchAddress("tau_phi", &tau_phi, &b_tau_phi);
   fChain->SetBranchAddress("MET_RefFinal_etx", &MET_RefFinal_etx, &b_MET_RefFinal_etx);
   fChain->SetBranchAddress("MET_RefFinal_ety", &MET_RefFinal_ety, &b_MET_RefFinal_ety);
   fChain->SetBranchAddress("MET_RefMuon_Staco_etx", &MET_RefMuon_Staco_etx, &b_MET_RefMuon_Staco_etx);
   fChain->SetBranchAddress("MET_RefMuon_Staco_ety", &MET_RefMuon_Staco_ety, &b_MET_RefMuon_Staco_ety);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_n", &jet_AntiKt4TopoNewEM_n, &b_jet_AntiKt4TopoNewEM_n);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_E", &jet_AntiKt4TopoNewEM_E, &b_jet_AntiKt4TopoNewEM_E);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_pt", &jet_AntiKt4TopoNewEM_pt, &b_jet_AntiKt4TopoNewEM_pt);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_eta", &jet_AntiKt4TopoNewEM_eta, &b_jet_AntiKt4TopoNewEM_eta);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_phi", &jet_AntiKt4TopoNewEM_phi, &b_jet_AntiKt4TopoNewEM_phi);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_n90", &jet_AntiKt4TopoNewEM_n90, &b_jet_AntiKt4TopoNewEM_n90);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_Timing", &jet_AntiKt4TopoNewEM_Timing, &b_jet_AntiKt4TopoNewEM_Timing);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_LArQuality", &jet_AntiKt4TopoNewEM_LArQuality, &b_jet_AntiKt4TopoNewEM_LArQuality);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_fracSamplingMax", &jet_AntiKt4TopoNewEM_fracSamplingMax, &b_jet_AntiKt4TopoNewEM_fracSamplingMax);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_hecf", &jet_AntiKt4TopoNewEM_hecf, &b_jet_AntiKt4TopoNewEM_hecf);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_isUgly", &jet_AntiKt4TopoNewEM_isUgly, &b_jet_AntiKt4TopoNewEM_isUgly);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_isBadLoose", &jet_AntiKt4TopoNewEM_isBadLoose, &b_jet_AntiKt4TopoNewEM_isBadLoose);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_isBadMedium", &jet_AntiKt4TopoNewEM_isBadMedium, &b_jet_AntiKt4TopoNewEM_isBadMedium);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_isBadTight", &jet_AntiKt4TopoNewEM_isBadTight, &b_jet_AntiKt4TopoNewEM_isBadTight);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_emfrac", &jet_AntiKt4TopoNewEM_emfrac, &b_jet_AntiKt4TopoNewEM_emfrac);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_emscale_E", &jet_AntiKt4TopoNewEM_emscale_E, &b_jet_AntiKt4TopoNewEM_emscale_E);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_emscale_pt", &jet_AntiKt4TopoNewEM_emscale_pt, &b_jet_AntiKt4TopoNewEM_emscale_pt);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_emscale_eta", &jet_AntiKt4TopoNewEM_emscale_eta, &b_jet_AntiKt4TopoNewEM_emscale_eta);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_emscale_phi", &jet_AntiKt4TopoNewEM_emscale_phi, &b_jet_AntiKt4TopoNewEM_emscale_phi);
   fChain->SetBranchAddress("jet_AntiKt4TopoNewEM_flavor_weight_SV0", &jet_AntiKt4TopoNewEM_flavor_weight_SV0, &b_jet_AntiKt4TopoNewEM_flavor_weight_SV0);
   fChain->SetBranchAddress("vx_nTracks", &vx_nTracks, &b_vx_nTracks);
   Notify();
}

Bool_t AnalysisBase::Notify()
{
   // The Notify() function is called when a new file is opened. This
   // can be either for a new TTree in a TChain or when when a new TTree
   // is started when using PROOF. It is normally not necessary to make changes
   // to the generated code, but the routine can be extended by the
   // user if needed. The return value is currently not used.

   return kTRUE;
}

void AnalysisBase::Show(Long64_t entry)
{
// Print contents of entry.
// If entry is not specified, print current entry
   if (!fChain) return;
   fChain->Show(entry);
}
Int_t AnalysisBase::Cut(Long64_t entry)
{
// This function may be called from Loop.
// returns  1 if entry is accepted.
// returns -1 otherwise.
   return 1;
}
#endif // #ifdef AnalysisBase_cxx
